const cp = require('child_process');
const path = require('path');

cp.execSync('rm -rf huilianyi-refactoring', { cwd: __dirname });
cp.execSync('mv ./dist ./huilianyi-refactoring', { cwd: __dirname });
cp.execSync("zip huilianyi-refactoring-$(date '+%Y%m%d%H%M').zip -r huilianyi-refactoring", {
  cwd: __dirname
});
cp.execSync('rm -rf huilianyi-refactoring', { cwd: __dirname });
